﻿@using AntJob.Data.Entity;
@{
    var page = ViewBag.Page as Pager;
    var dic = new Dictionary<Int32, String>();
    dic.Add(1, "启用");
    dic.Add(0, "禁用");
}
<div class="form-group">
    <label for="enable" class="control-label">状态：</label>
    @Html.ForDropDownList("enable", dic, page["enable"], "全部", true)
    <label for="category" class="control-label">分类：</label>
    @Html.ForDropDownList("category", AntJob.Data.Entity.App.FindAllCategoryByCache(), page["category"], "全部", true)
</div>
